package com.guli.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.common.utils.PageUtils;
import com.guli.product.entity.AttrEntity;
import com.guli.product.vo.AttrVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 * @author zzb
 * @email 1626131069@qq.com
 * @date 2023-10-21 10:18:56
 */
public interface AttrService extends IService<AttrEntity> {

    @Transactional
    PageUtils queryPage(String type, Long catId, Map<String, Object> params);
    @Transactional
    void saveAndAttrGroup(AttrVo attr);
    @Transactional
    AttrVo getInfoById(Long attrId);
}

